//
//  UWFriendDetailHistory.h
//  Urban Words
//
//  Created by sebastian on 2011-12-09.
//  Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MessageUI/MessageUI.h>
#import "UWHistoryCell.h"
#import "UWHistoryManager.h"
#import "UWFriend.h"
#import "UWFriendDetail.h"

@interface UWFriendDetailHistory : UITableViewController <MFMailComposeViewControllerDelegate,SectionHeaderViewDelegate> {
    //UWFriend *friend;
    BOOL test;
    NSInteger selectedRow;
    NSMutableArray *allCells;
    UWHistoryManager *manager;
    UWFriendDetail *friendDetail;
}

@property (retain, nonatomic) UWFriend *friend;

- (id)initWithNibName:(NSString *)nibNameOrNil 
               bundle:(NSBundle *)nibBundleOrNil friend:(UWFriend *)fr;
- (void)scrollToBottom;
- (void)updateTable;

@end
